package cn.edu.scau.sec.caixiaoqing.abstractFactory;

import cn.edu.scau.sec.caixiaoqing.abstractFactory.abstractClass.ConsumerElectronics;
import cn.edu.scau.sec.caixiaoqing.abstractFactory.bean.*;

public class AppleFactory extends AbstractFactory{
    @Override
    public ConsumerElectronics getPad() {
        return new ApplePad();
    }

    @Override
    public ConsumerElectronics getWatch() {
        return new AppleWatch();
    }

    @Override
    public ConsumerElectronics getPhone() {
        return new ApplePhone();
    }
}
